package com.yuan.demo;

import feign.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 应用程序主入口
 *
 * @author mwz
 * @version V1.0.0
 * @create 2017-09-15 14:45
 */
@EnableFeignClients("com.yuan.*")
@EnableDiscoveryClient
@EnableScheduling
@SpringBootApplication(scanBasePackages = "com.yuan")
public class Application extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }



}
